package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjWithdrawCheckEmp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 提现审核人员表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-05-25
 */
@Repository
public interface ZjWithdrawCheckEmpMapper extends BaseMapper<ZjWithdrawCheckEmp> {

    /**
     * 根据审核人员ID判断是否有权限审核提现单
     * @param custAccId 商家ID
     * @param empId 人员ID
     * @return
     */
    Integer hasCheckAuthorByCustAccIdAndEmpId(@Param("custAccId") Long custAccId, @Param("empId") Long empId);
}
